package com.sdleyou.treepro.common.model.convert;

import com.sdleyou.treepro.common.model.dao.UserPropDO;
import com.sdleyou.treepro.common.model.vo.UserPropVO;
import org.springframework.beans.BeanUtils;

public class UserPropDO2UserPropVOConverter {
    public static UserPropVO convert(UserPropDO userPropDO) {
        UserPropVO userPropVO = new UserPropVO();
        BeanUtils.copyProperties(userPropDO, userPropVO);
        return userPropVO;
    }
}